#include <iostream>
#include <conio.h>
using namespace std;
void swap(int &a, int &b){
	int temp = a;
	a = b;
	b = temp;
}
int main(){
	int x = 5;
	int y = 6;
	swap(x, y);
	cout << x << "\n" << y;
	_getch();
	return 0;
}